Jump to content

Samsung Galaxy Xcover 2 (samsung-skomer)

From postmarketOS Wiki
Samsung Galaxy Xcover 2 GT-S7710
Samsung Galaxy Xcover 2 GT-S7710
Samsung Galaxy Xcover 2 GT-S7710
Manufacturer Samsung
Name Galaxy Xcover 2 GT-S7710
Codename samsung-skomer
Released 2013
Type handset
Hardware
Chipset ST-Ericsson NovaThor U8500
CPU 2x 1 GHz ARM Cortex-A9
GPU Mali-400 MP1
Display 480x800 TFT
Storage 4 GB
Memory 1 GB
Architecture armv7
Software
Original software
The software and version the device was shipped with.
Android 4.1.2
Extended version
The most recent supported version from the manufacturer.
Android
FOSS bootloader yes
postmarketOS
Category testing
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
yes
Device package device-samsung-skomer
Kernel package linux-postmarketos-stericsson
Features
Flashing
It is possible to flash the device with pmbootstrap flasher.
Works
USB Networking
After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system).
Works
Battery
Charging and battery level reporting works
Works
Screen
Display works. Ideally with sleep mode and brightness control.
Works
Touchscreen
Works
Multimedia
3D Acceleration
Works
Audio
Audio playback, microphone, headset and buttons.
Broken
Camera
Broken
Camera Flash
Works
Connectivity
WiFi
Works
Bluetooth
Partial
GPS
Broken
Modem
Calls
Broken
SMS
Broken
Mobile data
Broken
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Broken
USB OTG
USB On-The-Go or USB-C Role switching
Untested
Sensors
Accelerometer
Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile
Works
Magnetometer
Sensor to measure magnetism
Works
Proximity
Works
Haptics
Works
U-Boot
Primary Bootloader
It is possible to replace stock bootloader with U-Boot.
Broken
Secondary Bootloader
It is possible to chainload U-Boot from stock bootloader.
Works
Mainline
Latest versions of U-Boot are not broken and it is possible to use them.
Works
Internal Storage
It is possible to boot from internal storage (e.g. eMMC or UFS).
Works
SD card
It is possible to boot from SD card.
Untested
USB Host
It is possible to boot from a USB storage or connect a keyboard.
Works
USB Peripheral
It is possible to use device as a peripheral in U-Boot, e.g. for fastboot mode.
Works
Display
Works
Buttons
It is possible to navigate in boot menu or grub with volume and power buttons.
Works


Contributors

Users owning this device

  • Bastindo (Notes: Works)
  • Chaosleo07 (Notes: oh god oh fuck i can't find my charger)
  • GeraltvonNVIDIA (Notes: Kernel 6.1.0 on Plasma-Mobile)
  • Linusw (Notes: Final ST-Ericsson product based on U8500)
  • Newbyte (Notes: I don't know how many I have, I wouldn't strictly mind giving away one if you want to work on improving it)
  • Zekiu (Notes: deleted a bunch of partitions 'cause i didn't know you can install on a microSD :P)


Installation

The mainline kernel can only be booted through U-Boot, not directly with the Samsung bootloader. U-Boot is installed as intermediate bootloader on the boot partition, so it does not replace the Samsung bootloader entirely.

Boot into Download Mode using Power + Volume Down + Home and follow the the NovaThor U8500 U-Boot installation instructions to install U-Boot.

Finally, just follow the Installation guide. It should be recommended that you use an external SD-Card to install the rootfs to, because the internal storage is pretty small on this device.

Notes

While charging now works with the mainline kernel as of linux-postmarketos-stericsson 5.17-rc1 in postmarketOS, it is good to note that if you somehow end up depleting the battery entirely, you risk bricking your device as it cannot charge if it cannot boot to the kernel, and it cannot boot to the kernel if the battery level is too low as it shuts down before it gets there. This is also the case in Android. If you end up in this situation, you can either get an external charger or a new battery. You can also boot into download mode by holding down Volume Down + Home when connecting the USB cable as it allows the battery to be charged.

Mainline kernel v5.18

Working:

  • Display
  • GPU (Mali-400 MP using Lima)
  • Touchscreen
  • Broadcom WiFi
  • Bluetooth (partial; needs to be set up manually)
  • Accelerometer
  • Magnetometer
  • Proximity sensor
  • USB
  • Battery charging

Not working:

  • Audio
  • Camera
  • GPS
  • FDE (keyboard appears and is GPU accelerated with working vibrator, but device hangs a few seconds after unlocking)
  • ...

Bluetooth

Currently there is some problem with Bluetooth from the command line:

 # btmgmt public-addr 53:33:6d:69:6e:69
 Set Public Address for hci0 failed with status 0x11 (Invalid Index)

This needs further investigation.

Bluetooth does not have any Bluetooth device address (bdaddr or "MAC address") set after boot at the moment. To make Bluetooth work, you need to manually configure one:

# apk add bluez-btmgmt
# btmgmt public-addr <bdaddr>

where <bdaddr> is a MAC address like 53:33:6d:69:6e:69.

The Bluetooth controller should then show up in bluetoothctl:

# apk add bluez
# rc-service bluetooth start
$ bluetoothctl

You can e.g scan for devices:

[bluetooth]# show
[bluetooth]# power on
[bluetooth]# advertise on
[bluetooth]# system-alias skomer
[bluetooth]# scan on

Sensors

  • The Skomer has a Sharp gp2ap002s00f proximity sensor which only detects proximity and cannot provide ambient light measurement
  • The magnetometer is an Alps hscdtd008a
  • The accelerometer is a Bosch BMA254

GPS

This device has a CSR CSRG05TA03-ICJE-R SirfStarV 5t GPS chip. It has been added to the device tree but no userspace tests have been successful.

DSI Scaling Error in Phosh

If you are running phosh, and the scaling is wrong so that you cannot type in the password to unlock the initial login screen, this can be fixed by changing this file /usr/share/phosh/phoc.ini like this:

 [output:DSI-1]
 scale = 1

See also